﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace l1cs.server.templates
{
    public class L1EtcItem : L1Item
    {
        public L1EtcItem()
        {
        }

        private bool _stackable;

        private int _locx;

        private int _locy;

        private short _mapid;

        private int _delay_id;

        private int _delay_time;

        private int _delay_effect;

        private int _maxChargeCount;

        private bool _isCanSeal; // ● 封印スクロールで封印可能

        override
        public bool isStackable()
        {
            return _stackable;
        }

        public void set_stackable( bool stackable )
        {
            _stackable = stackable;
        }

        public void set_locx( int locx )
        {
            _locx = locx;
        }

        override
        public int get_locx()
        {
            return _locx;
        }

        public void set_locy( int locy )
        {
            _locy = locy;
        }

        override
        public int get_locy()
        {
            return _locy;
        }

        public void set_mapid( short mapid )
        {
            _mapid = mapid;
        }

        override
        public short get_mapid()
        {
            return _mapid;
        }

        public void set_delayid( int delay_id )
        {
            _delay_id = delay_id;
        }

        override
        public int get_delayid()
        {
            return _delay_id;
        }

        public void set_delaytime( int delay_time )
        {
            _delay_time = delay_time;
        }

        override
        public int get_delaytime()
        {
            return _delay_time;
        }

        public void set_delayEffect( int delay_effect )
        {
            _delay_effect = delay_effect;
        }

        public int get_delayEffect()
        {
            return _delay_effect;
        }

        public void setMaxChargeCount( int i )
        {
            _maxChargeCount = i;
        }

        // 最大チャージ数？
        public override int getMaxChargeCount()
        {/*TTOK*/
            return _maxChargeCount;
        }

        override
        public bool isCanSeal()
        {
            return _isCanSeal;
        }

        public void setCanSeal( bool flag )
        {
            _isCanSeal = flag;
        }
    }
}
